<?php
if (isset($_POST["submit"]));

?>
<?
$year=$_POST["data"];

if ($year %4!=0){
    
    
    echo "khong phai nam nhuan";
    
}

else if ($year%400==0){
    echo "name".$year."day la nam nhuan";
}
else if ($year%100==0){
    echo "name".$year."khong phai nam nhuan";
}
else {echo "nam".$year."day la nam nhuan";

}

?>

<html>
    <body>
        <form action="tinhNamNhuanNhapTu-Input.php" method="Post">
            <h4>chuong  trinh tinh nam nhuan</h4>
            <input type="text" name="data">
            <input type="submit" name="submit" value="Tinh Toan">
        </form>
    </body>
</html>